
/*
    SUSAN® - Sole of Unix Save ANything

   Copyright (C) 2016-2019 Skyatlas co. ltd

   
*/
#ifndef BAREOS_STORED_BUTIL_H_
#define BAREOS_STORED_BUTIL_H_

namespace storagedaemon {

void PrintLsOutput(const char* fname,
                   const char* link,
                   int type,
                   struct stat* statp);
JobControlRecord* SetupJcr(const char* name,
                           char* dev_name,
                           BootStrapRecord* bsr,
                           DirectorResource* director,
                           DeviceControlRecord* dcr,
                           const char* VolumeName,
                           bool readonly);
void DisplayTapeErrorStatus(JobControlRecord* jcr, Device* dev);

} /* namespace storagedaemon */

#endif  // BAREOS_STORED_BUTIL_H_
